    <div id="types">
      <h2>Choose a type</h2>
      <h2 id="addFile"><a href="add.php"><img src="images/add.png" alt="Add a file" style="" /></a></h2>
      <ul id="type">
{section name=sec3 loop=$types}
        <li class="{$types[sec3].class}" id="type{$types[sec3].id}">
          <a href="index.php?{$types[sec3].none}type={$types[sec3].id}" onclick="return typeAction('{$types[sec3].id}')">{$types[sec3].name}</a>
        </li>
{/section}
      </ul>
    </div>

